package service;

import java.util.List;

import qingke.bean.CartOfProduct;
import qingke.mybatis.pojo.Order;
import qingke.mybatis.pojo.OrderDetail;
import qingke.mybatis.pojo.User;

public interface OrderService {

	String placeAnOrder(CartOfProduct cart, User user, Integer totalPrice);

	List<Order> getOrder(Integer userId);

	List<OrderDetail> getOrderDetail(Integer orderId);

	int chengeOrder(int orderid,int orderStatus);

}
